{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/DialogItem/index.tsx\",\n  _s = $RefreshSig$();\nimport React from 'react';\nimport { getLastMessage, getUserNameLastMessage } from \"../../utils/Chat\";\nimport { getHelloMessage, checkMimeType } from \"../../utils/Message\";\nimport { getOtherUserForNotMultiChat } from \"../../utils/Membership\";\nimport { getUserName } from \"../../utils/User\";\nimport { MessageDate, MessageStatus, Avatar, Name } from \"../\";\nimport { Context } from \"../../index\";\nimport classNames from \"classnames\";\nimport { observer } from \"mobx-react-lite\";\nimport reactStringReplace from \"react-string-replace\";\nimport data from '@emoji-mart/data/sets/14/apple.json';\nimport { init } from 'emoji-mart';\nimport './Dialog.scss';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\ninit({\n  data\n});\nconst DialogItem = _ref => {\n  _s();\n  var _lastMessage$bodyMess, _lastMessage$bodyMess2;\n  let {\n    chat\n  } = _ref;\n  const {\n    store\n  } = React.useContext(Context);\n  const [otherUser, setOtherUser] = React.useState();\n  const [viewedDialog, setViewedDialog] = React.useState(false);\n  const [lastMessage, setLastMessage] = React.useState(chat.lastMessage || getHelloMessage(store));\n  React.useEffect(() => {\n    if (!chat.multiChat && chat.membership && chat.membership.items.length > 0) {\n      setOtherUser(getOtherUserForNotMultiChat(store, chat.membership));\n    }\n    if (chat.messages && chat.messages.items.length > 0) {\n      setLastMessage(getLastMessage(chat.messages));\n    } else {\n      setLastMessage(getHelloMessage(store));\n    }\n    if (store.viewedDialogId === chat.id) {\n      setViewedDialog(true);\n    } else {\n      setViewedDialog(false);\n    }\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [chat, store.chats, store.viewedDialogId]);\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    className: classNames('dialogs__item', {\n      'dialogs__item--online': !chat.multiChat,\n      'dialogs__item--active': viewedDialog\n    }),\n    onClick: () => {\n      if (store.getViewedDialogId() === chat.id) {\n        store.setViewedDialogId(null);\n      } else {\n        store.setCurrentDialog(chat);\n        store.setViewedDialogId(chat.id);\n      }\n    },\n    children: [/*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"dialogs__item--avatar\",\n      children: [chat.multiChat && /*#__PURE__*/_jsxDEV(Avatar, {\n        contentList: chat.content,\n        alt: chat.name,\n        stringForFirstCharacter: chat.name,\n        stringForGenerateColor: chat.name\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 62,\n        columnNumber: 21\n      }, this), !chat.multiChat && otherUser && /*#__PURE__*/_jsxDEV(Avatar, {\n        contentList: otherUser.content,\n        alt: getUserName(otherUser),\n        stringForFirstCharacter: getUserName(otherUser),\n        stringForGenerateColor: otherUser.id\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 70,\n        columnNumber: 21\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 60,\n      columnNumber: 13\n    }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"dialogs__item-info\",\n      children: [/*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"dialogs__item-info-top\",\n        children: [/*#__PURE__*/_jsxDEV(\"p\", {\n          className: \"dialogs__item-chatName\",\n          children: /*#__PURE__*/_jsxDEV(Name, {\n            user: otherUser,\n            chatName: chat.name,\n            multiChat: chat.multiChat\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 81,\n            columnNumber: 24\n          }, this)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 80,\n          columnNumber: 20\n        }, this), chat.messages && chat.messages.items.length > 0 && /*#__PURE__*/_jsxDEV(MessageDate, {\n          message: lastMessage,\n          shortDate: true\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 84,\n          columnNumber: 77\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 79,\n        columnNumber: 17\n      }, this), chat.multiChat && lastMessage && /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"dialogs__item-info-medium\",\n        children: /*#__PURE__*/_jsxDEV(\"p\", {\n          children: getUserNameLastMessage(lastMessage.user, store)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 89,\n          columnNumber: 25\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 88,\n        columnNumber: 21\n      }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"dialogs__item-info-bottom\",\n        children: [/*#__PURE__*/_jsxDEV(\"p\", {\n          children: (lastMessage === null || lastMessage === void 0 ? void 0 : (_lastMessage$bodyMess = lastMessage.bodyMessage) === null || _lastMessage$bodyMess === void 0 ? void 0 : _lastMessage$bodyMess.message) && lastMessage.bodyMessage.message.length > 0 && reactStringReplace(lastMessage.bodyMessage.message, /:(.+?):/g, (match, i) =>\n          /*#__PURE__*/\n          /* eslint-disable-next-line @typescript-eslint/ban-ts-comment */\n          /* @ts-ignore */\n          _jsxDEV(\"em-emoji\", {\n            set: \"apple\",\n            id: match,\n            size: \"16px\"\n          }, i, false, {\n            fileName: _jsxFileName,\n            lineNumber: 98,\n            columnNumber: 33\n          }, this)) || (lastMessage === null || lastMessage === void 0 ? void 0 : (_lastMessage$bodyMess2 = lastMessage.bodyMessage) === null || _lastMessage$bodyMess2 === void 0 ? void 0 : _lastMessage$bodyMess2.content.items) && lastMessage.bodyMessage.content.items.length > 0 && (lastMessage.bodyMessage.content.items.length === 1 && (checkMimeType(lastMessage.bodyMessage.content.items[0], 'webm') && /*#__PURE__*/_jsxDEV(\"span\", {\n            className: \"dialogs__item-info-bottom-detectedElement\",\n            children: \"\\u0410\\u0443\\u0434\\u0438\\u043E\\u0441\\u043E\\u043E\\u0431\\u0449\\u0435\\u043D\\u0438\\u0435\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 104,\n            columnNumber: 45\n          }, this) || /*#__PURE__*/_jsxDEV(\"span\", {\n            className: \"dialogs__item-info-bottom-detectedElement\",\n            children: \"\\u041A\\u0430\\u0440\\u0442\\u0438\\u043D\\u043A\\u0430\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 105,\n            columnNumber: 45\n          }, this)) || /*#__PURE__*/_jsxDEV(\"span\", {\n            className: \"dialogs__item-info-bottom-detectedElement\",\n            children: \"\\u0412\\u043B\\u043E\\u0436\\u0435\\u043D\\u043D\\u044B\\u0435 \\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u044B\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 107,\n            columnNumber: 37\n          }, this)) || /*#__PURE__*/_jsxDEV(\"span\", {\n            className: \"dialogs__item-info-bottom-detectedElement\",\n            children: \"\\u041F\\u0435\\u0440\\u0435\\u0441\\u043B\\u0430\\u043D\\u043D\\u043E\\u0435 \\u0441\\u043E\\u043E\\u0431\\u0449\\u0435\\u043D\\u0438\\u0435\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 109,\n            columnNumber: 32\n          }, this)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 93,\n          columnNumber: 21\n        }, this), lastMessage && /*#__PURE__*/_jsxDEV(MessageStatus, {\n          message: lastMessage,\n          store: store,\n          dialog: true\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 113,\n          columnNumber: 37\n        }, this), chat.unreadMessageCounter !== 0 && /*#__PURE__*/_jsxDEV(\"div\", {\n          className: \"dialogs__item-info-bottom-count\",\n          children: chat.unreadMessageCounter && chat.unreadMessageCounter > 9 ? '+9' : chat.unreadMessageCounter\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 115,\n          columnNumber: 25\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 92,\n        columnNumber: 17\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 78,\n      columnNumber: 13\n    }, this)]\n  }, void 0, true, {\n    fileName: _jsxFileName,\n    lineNumber: 46,\n    columnNumber: 9\n  }, this);\n};\n_s(DialogItem, \"4TcYj+rslX27EkbQ0CIN79E5mGQ=\");\n_c = DialogItem;\nexport default _c2 = observer(DialogItem);\nvar _c, _c2;\n$RefreshReg$(_c, \"DialogItem\");\n$RefreshReg$(_c2, \"%default%\");","map":{"version":3,"names":["React","getLastMessage","getUserNameLastMessage","getHelloMessage","checkMimeType","getOtherUserForNotMultiChat","getUserName","MessageDate","MessageStatus","Avatar","Name","Context","classNames","observer","reactStringReplace","data","init","DialogItem","chat","store","useContext","otherUser","setOtherUser","useState","viewedDialog","setViewedDialog","lastMessage","setLastMessage","useEffect","multiChat","membership","items","length","messages","viewedDialogId","id","chats","getViewedDialogId","setViewedDialogId","setCurrentDialog","content","name","user","bodyMessage","message","match","i","unreadMessageCounter"],"sources":["/data/messenger.client/src/components/DialogItem/index.tsx"],"sourcesContent":["import React from 'react';\nimport {DialogsItemProps} from \"../../models/props/DialogsItemProps\";\nimport {getLastMessage, getUserNameLastMessage} from \"../../utils/Chat\";\nimport {getHelloMessage, checkMimeType} from \"../../utils/Message\";\nimport {getOtherUserForNotMultiChat} from \"../../utils/Membership\";\nimport {getUserName} from \"../../utils/User\";\nimport {MessageDate, MessageStatus, Avatar, Name} from \"../\";\nimport {MessagesListItem} from \"../../models/response/MessagesListItem\";\nimport {UserListItem} from \"../../models/response/UserListItem\";\nimport {Context} from \"../../index\";\nimport classNames from \"classnames\";\nimport {observer} from \"mobx-react-lite\";\nimport reactStringReplace from \"react-string-replace\";\nimport data from '@emoji-mart/data/sets/14/apple.json';\nimport { init } from 'emoji-mart';\nimport './Dialog.scss';\n\ninit({ data });\n\nconst DialogItem: React.FC<DialogsItemProps> = ({chat}) => {\n    const {store} = React.useContext(Context);\n    const [otherUser, setOtherUser] = React.useState<UserListItem>();\n    const [viewedDialog, setViewedDialog] = React.useState<boolean>(false);\n    const [lastMessage, setLastMessage] = React.useState<MessagesListItem>(\n        (chat.lastMessage || getHelloMessage(store))\n    );\n\n    React.useEffect(() => {\n            if (!chat.multiChat && chat.membership && chat.membership.items.length > 0) {\n                setOtherUser(getOtherUserForNotMultiChat(store, chat.membership));\n            }\n            if (chat.messages && chat.messages.items.length > 0) {\n                setLastMessage(getLastMessage(chat.messages));\n            } else {\n                setLastMessage(getHelloMessage(store));\n            }\n            if (store.viewedDialogId === chat.id) {\n                setViewedDialog(true);\n            } else {\n                setViewedDialog(false);\n            }\n        // eslint-disable-next-line react-hooks/exhaustive-deps\n    }, [chat, store.chats, store.viewedDialogId]);\n\n    return (\n        <div\n            className={classNames('dialogs__item', {\n                'dialogs__item--online' : !chat.multiChat,\n                'dialogs__item--active': viewedDialog\n            })}\n            onClick={() => {\n                if (store.getViewedDialogId() === chat.id) {\n                    store.setViewedDialogId(null);\n                } else {\n                    store.setCurrentDialog(chat);\n                    store.setViewedDialogId(chat.id);\n                }\n            }}\n        >\n            <div className=\"dialogs__item--avatar\">\n                {chat.multiChat &&\n                    <Avatar\n                        contentList={chat.content}\n                        alt={chat.name}\n                        stringForFirstCharacter={chat.name}\n                        stringForGenerateColor={chat.name}\n                    />\n                }\n                {!chat.multiChat && otherUser &&\n                    <Avatar\n                        contentList={otherUser.content}\n                        alt={getUserName(otherUser)}\n                        stringForFirstCharacter={getUserName(otherUser)}\n                        stringForGenerateColor={otherUser.id}\n                    />\n                }\n            </div>\n            <div className=\"dialogs__item-info\">\n                <div className=\"dialogs__item-info-top\">\n                   <p className='dialogs__item-chatName'>\n                       <Name user={otherUser} chatName={chat.name} multiChat={chat.multiChat} />\n                   </p>\n                   {\n                       (chat.messages && chat.messages.items.length > 0) && <MessageDate message={lastMessage} shortDate={true} />\n                    }\n                </div>\n                {chat.multiChat && lastMessage &&\n                    <div className='dialogs__item-info-medium'>\n                        <p>{getUserNameLastMessage(lastMessage.user, store)}</p>\n                    </div>\n                }\n                <div className=\"dialogs__item-info-bottom\">\n                    <p>\n                        {(lastMessage?.bodyMessage?.message && lastMessage.bodyMessage.message.length > 0 &&\n                            reactStringReplace(lastMessage.bodyMessage.message, /:(.+?):/g, (match: string, i: number) => (\n                                /* eslint-disable-next-line @typescript-eslint/ban-ts-comment */\n                                /* @ts-ignore */\n                                <em-emoji key={i} set=\"apple\" id={match} size=\"16px\"/>\n                            ))) || (\n                            (lastMessage?.bodyMessage?.content.items && lastMessage.bodyMessage.content.items.length > 0) &&\n                                (lastMessage.bodyMessage.content.items.length === 1 &&\n                                    (\n                                        checkMimeType(lastMessage.bodyMessage.content.items[0], 'webm') &&\n                                            <span className=\"dialogs__item-info-bottom-detectedElement\">Аудиосообщение</span> ||\n                                            <span className=\"dialogs__item-info-bottom-detectedElement\">Картинка</span>\n                                    ) ||\n                                    <span className=\"dialogs__item-info-bottom-detectedElement\">Вложенные элементы</span>\n                                )\n                            || <span className=\"dialogs__item-info-bottom-detectedElement\">Пересланное сообщение</span>\n                        )\n                        }\n                    </p>\n                    {lastMessage && <MessageStatus message={lastMessage} store={store} dialog={true} />}\n                    {chat.unreadMessageCounter !== 0 &&\n                        <div className=\"dialogs__item-info-bottom-count\">\n                            {(chat.unreadMessageCounter && chat.unreadMessageCounter > 9)? '+9': chat.unreadMessageCounter}\n                        </div>\n                    }\n                </div>\n            </div>\n        </div>\n    );\n}\n\nexport default observer(DialogItem);"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAAQC,cAAc,EAAEC,sBAAsB,QAAO,kBAAkB;AACvE,SAAQC,eAAe,EAAEC,aAAa,QAAO,qBAAqB;AAClE,SAAQC,2BAA2B,QAAO,wBAAwB;AAClE,SAAQC,WAAW,QAAO,kBAAkB;AAC5C,SAAQC,WAAW,EAAEC,aAAa,EAAEC,MAAM,EAAEC,IAAI,QAAO,KAAK;AAG5D,SAAQC,OAAO,QAAO,aAAa;AACnC,OAAOC,UAAU,MAAM,YAAY;AACnC,SAAQC,QAAQ,QAAO,iBAAiB;AACxC,OAAOC,kBAAkB,MAAM,sBAAsB;AACrD,OAAOC,IAAI,MAAM,qCAAqC;AACtD,SAASC,IAAI,QAAQ,YAAY;AACjC,OA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